#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>

class QPlainTextEdit;
class QAction;
class QToolBar;
class FindDialog;


class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    QPlainTextEdit *textArea;
    QToolBar *toolBar;
    QAction *searchAction;
    FindDialog *findDialog;


private slots:
    void showFindDialog();
    void searchText(const QString &text);
};

#endif // MAINWINDOW_H
